import request from '@/api/request.js'

//获取考勤记录
export const listMyAttendanceRecord = data => request.post('/system/attendanceRecord/admin/listMyAttendanceRecord', data)

//打卡
export const saveMyAttendanceRecord = data => request.post('/system/attendanceRecord/admin/saveMyAttendanceRecord', data)

//获取考勤历史
export const listMyAttendanceRecordHistory = data => request.post('/system/attendanceRecord/admin/listMyAttendanceRecordHistory', data)

//获取打卡配置
export const getAttendanceConfig = data => request.post('/system/attendanceConfig/admin/getAttendanceConfig', data)